<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CONTROLLER_VIEW__/css/cart.css"/>
		<script src="__STATIC__/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var ajaxUpdateCart = "{|U:'Index/Carts/ajaxUpdateCart'}"
			var deleteCart = "{|U:'Index/Carts/deleteCart'}"
		</script>
		<script src="__CONTROLLER_VIEW__/js/cart.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!--头部固定区-->
		<include file="__VIEW__/Common/header"/>
		<!--菜单栏end-->
		
		<!--页面主体区域begin-->
		<div id="container">
			<form action="{|U:'Index/Orders/index'}" method="post">
			<div class="cart">
				<div class="c_title">
					<span class="cart_ico"></span>
					<h2>我的购物车</h2>
				</div>
				<!--表格开始-->
				<div class="c_cont">
					<table border="0">
						<thead>
							<tr>
								<td width="200px" class='s_all'><span class="selectall select_all"></span><h3>全选</h3></td>
								<td width="200px" class="hd">商品信息</td>
								<td width="200px" class="hd">商品信息2</td>
								<td width="180px" class="hd td_numb">数量</td>
								<td width="120px" class="hd">金额(元)</td>
								<td width="60px" class="hd">操作</td>
							</tr>
						</thead>
						<tbody>
							<foreach from="$cartData['goods']" key="$k" value="$v">
							
							<tr class="c_goods" sid="{$k}">
								<td><span class="select"></span><img src="__ROOT__/{$v.smallImg}" alt="" /></td>
								<td class="g_infor1"><a href="" >{$v.name}</a></td>
								<td class="g_infor2">
									<foreach from="$v.options" key="$kk" value="$vv">
										{$kk}:{$vv}&nbsp;&nbsp;
									</foreach>
								</td>
								<td class="t_numb">
									<a href="javascript:;" class="reduce">-</a>
									<input type="text" class="numb" value="{$v.num}" style="text-align: center;" />
									<a href="javascript:;"  class="add">＋</a>
								</td>
								<td class="t_price"><sapn class="price" price={$v.price} >￥<span class="p_num">{$v.total}</span></sapn></td>
								<td class="t_delete"><a href="javascript:;" class="delete">删除</a></td>
							</tr>
							</foreach>
						</tbody>
					</table>
				</div>
				<!--表格结束-->
				<!--总计部分begin-->
				<div class="total">
					<span class="t_bg"></span>
					<span class="s_all_ico select_all"></span>
					<span class="s_all_i">全选</span>
					<a href="" class="del">删除</a>
					<span class="g_sel">已选择商品<span class="g_s_n">0</span>件</span>
					<span class="total_p">合计（不计含运费）：¥<span class="s_price">0.00</span></span>
				</div>
				<!--总计部分end-->
				<!--购物车结算区块begin-->
				<div class="confirm">
					<input type="submit" class="c_sbt" value="购物车结算"/>
				</div>
				<!--购物车结算区块end-->
			</div>
			</form>
		</div>
		<!--页面主体区域end-->
		
		<!--页面底部begin-->
		<div id="footer">
			<div class="foot_wrap">
				<div class="say">
					<p class="p1">“如果你的东西和大家都一样，那干嘛还设计它？”</p>
					<p class="p2">by  Philippe Starck</p>
				</div>
				<div class="foot_logo"></div>
				<p class='infor'>Copyright 2015 版权所有 浙ICP备12027496 <a href="">热门精选</a> <a href="">热门分类</a></p>
				<p class='link'>商务合作  友情链接： 想去网  蘑菇街 360安全网址 爱图购</p>
			</div>
		</div>
		<!--页面底部end-->
	</body>
</html>
